package com.example.blesdk;

public interface Constant {

	String HEART_RATE_MEASUREMENT = "0000C004-0000-1000-8000-00805f9b34fb";
	String CLIENT_CHARACTERISTIC_CONFIG = "00002902-0000-1000-8000-00805f9b34fb";
	String EWQ_UUID_Notify="0000fff2-0000-1000-8000-00805f9b34fb";
	String CHARACTERISTIC_UUID_RETURN="00002902-0000-1000-8000-00805f9b34fb";

	//fat
	String WRITE="0000fff6-0000-1000-8000-00805f9b34fb";
	String WRITE_FAT="0000fff2-0000-1000-8000-00805f9b34fb";

	//model 1
	String SERVICE_UUID_01 = "00001910-0000-1000-8000-00805f9b34fb";
	String CH_01 = "0000fff2-0000-1000-8000-00805f9b34fb";
	//model2
	String SERVICE_UUID_02="0000fff0-0000-1000-8000-00805f9b34fb";
	String UUID_CH_SERVICE_NOTIFY="0000fff6-0000-1000-8000-00805f9b34fb";

	//fatScale
	String DEVICE_NAME_FAT  = "FatScale";
	String DEVICE_NAME_FAT1  = "000FatScale01";
	String DEVICE_NAME_FAT2  = "000FatScale02";
	String DEVICE_NAME_FAT3  = "Holtek_ BodyFatScal";
	String UUID_REDFAT = "0000fff1-0000-1000-8000-00805f9b34fb";
	String UUID_WRITEFAT =  "0000fff2-0000-1000-8000-00805f9b34fb";

	//ear
	String DEVICE_NAME_EAR  = "FSRKB-EWQ01";
	String CH_UUID_NOTIFY_EAR  = "0000fff2-0000-1000-8000-00805f9b34fb";

	//TURGOSCOPE
	String TURGOSCOPE_WRITE_CHARA = "0000fff6-0000-1000-8000-00805f9b34fb";
	String TURGOSCOPE_NAME1 = "FSRKB_BT-001";
	String TURGOSCOPE_NAME2 = "FSRKB_BT-002";
	String TURGOSCOPE_NAME = "FSRKB_BT";
	
	String GLUCOMETER = "Glucometer";


	//i359
	String SERVICE_UUID_I359 = "0000fff0-0000-1000-8000-00805f9b34fb";
	String CH_UUID_Notify_I359 = "0000fff2-0000-1000-8000-00805f9b34fb";
	String WRITE_NOTIFY_I359   = "0000fff6-0000-1000-8000-00805f9b34fb";

	//broadcast action
	String ACTION_GATT_CONNECTING = "com.example.bluetooth.le.ACTION_GATT_CONNECTING";
	String ACTION_GATT_CONNECTED = "com.example.bluetooth.le.ACTION_GATT_CONNECTED";
	String ACTION_GATT_DISCONNECTING = "com.example.bluetooth.le.ACTION_GATT_DISCONNECTING";
	String ACTION_GATT_DISCONNECTED = "com.example.bluetooth.le.ACTION_GATT_DISCONNECTED";
	String ACTION_GATT_SERVICES_DISCOVERED = "com.example.bluetooth.le.ACTION_GATT_SERVICES_DISCOVERED";
	String ACTION_DATA_AVAILABLE = "com.example.bluetooth.le.ACTION_DATA_AVAILABLE";
	String ACTION_DATA_EXTRA_DATA = "com.example.bluetooth.le.EXTRA_DATA";
	String ACTION_NOTIFY= "com.example.bluetooth.le.ACTION_NOTIFY";
	String ACTION_SEARCHING= "com.example.bluetooth.le.ACTION_SEARCHING";
	String ACTION_SEARCHFAIL= "com.example.bluetooth.le.ACTION_SEARCHFAIL";
	String BLE_TiZhong_Data = "ble.tizhong.value";
	String BLE_change_Data = "ble.change.value";
	String BLE_SHENGGAO_Data = "ble.shenggao.value";
	String WRITE_SUCCEED = "write_succeed";
	String SEARCH_DEVICE = "search_device";

	//state
	int STATE_DISCONNECTED = 0x00;
	int STATE_CONNECTING = 0x11;
	int STATE_CONNECTED = 0x22;
	int STATE_DISCONNECTING = 0x33;
	int STATE_SEARCHDEVICE = 0x44;
	int STATE_WRITEDATA = 0x55;
	int STATE_NOTIFY = 0x66;
	int STATE_EXTRADATA = 0x77;
	int STATE_SEARCHING = 0x88;
	int STATE_SEARCHFAIL = 0x99;
}
